Adding Data and Procedure Abstraction to the Transparent Prolog Machine TPM

نویسندگان

  • Mike Brayshaw
  • Marc Eisenstadt
چکیده

The Transparent Prolog Machine (TPM) provides a vehicle for visualising the execution of Prolog programs in a manner which is faithful to the underlying behaviour of the Prolog interpreter. Although this fidelity is useful for teaching and debugging purposes, it can be inappropriate when a programmer wishes to view a program at a 'higher level', i.e. in terms of data or procedure abstractions which are not necessarily close to the underlying behaviour of the interpreter. We show how TPM can be extended to deal with the 'collection' abstraction inherent in higher-order predicates such as setof. In addition we discuss ways of allowing the user to customise the trace to produce the correct procedural abstraction for the task at hand.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Graphical Debugging with the Transparent PROLOG Machine (TPM)

An augmented and/or tree representation of logic programs is presented as the basis for an advanced graphical tracing and debugging facility for Prolog. TPM can be run in slow-motion/close-up mode for novices or high-speed/longdistance mode for experts with no attendant conceptual change. Moreover, it deals correctly both with clause head matching and with the cut. The current implementation ru...

متن کامل

Declarative Debugging with The Transparent Prolog Machine (TPM)

The underlying philosophy of the Transparent Prolog Machine (TPM) is that it should serve as a medium for visualising the execution of Prolog programs in a manner which is rigorously faithful to the internal behaviour of the Prolog interpreter. It is therefore highly biased towards the procedural account of Prolog execution. Although this is useful for certain types of practical program debuggi...

متن کامل

Transparent Machine Learning Algorithm Offers Useful Prediction Method for Natural Gas Density

Machine-learning algorithms aid predictions for complex systems with multiple influencing variables. However, many neural-network related algorithms behave as black boxes in terms of revealing how the prediction of each data record is performed. This drawback limits their ability to provide detailed insights concerning the workings of the underlying system, or to relate predictions to specific ...

متن کامل

Maximizing "Return on Investment": Prolog Extensions for Effective Decision Support Applications

Extensions to Prolog that offer the user portable Graphical User Interfaces (GUIs), transparent access to foreign databases, and scalable performance are presented. These extensions have been implemented on top of standard Prolog and can be shown to provide a powerful level of abstraction that ultimately leads to reduced costs and better return on investment for Decision Support (DS) applications.

متن کامل

A Simple Approach to Distributed Objects in Prolog?

We present the design of a distributed object system for Prolog, based on adding remote execution and distribution capabilities to a previously existing object system. Remote execution brings RPC into a Prolog system, and its semantics is easy to express in terms of well-known Prolog builtins. The final distributed object design features state mobility and user-transparent network behavior. We ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1988